package ysq.xyg.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

/**
 * 产品数据
 * */
@Table(name = "bohu_data")
public class DeviceData implements Serializable {
    @Id
    private int id;
    private Date time;
    @Column(name = "PM2.5")
    private String pm2;
    @Column(name = "PM1.0")
    private String pm1;
    @Column(name = "PM10")
    private String pm10;
    @Column(name = "HCHO")
    private String hcho;
    @Column(name = "CO2")
    private String co2;
    @Column(name = "TEMR")
    private String temr;
    @Column(name = "HIM")
    private String him;
    @Column(name = "AQI")
    private String aqi;
    @Column(name = "VOC")
    private String voc;
    @Column(name = "O2")
    private String o2;
    @Column(name = "H2S")
    private String h2s;
    @Column(name = "O3")
    private String o3;
    @Column(name = "WindSpeed")
    private String windSpeed;
    @Column(name = "WindDirection")
    private String windDirection;
    @Column(name = "Noise")
    private String noise;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getPm2() {
        return pm2;
    }

    public void setPm2(String pm2) {
        this.pm2 = pm2;
    }

    public String getPm1() {
        return pm1;
    }

    public void setPm1(String pm1) {
        this.pm1 = pm1;
    }

    public String getPm10() {
        return pm10;
    }

    public void setPm10(String pm10) {
        this.pm10 = pm10;
    }

    public String getHcho() {
        return hcho;
    }

    public void setHcho(String hcho) {
        this.hcho = hcho;
    }

    public String getCo2() {
        return co2;
    }

    public void setCo2(String co2) {
        this.co2 = co2;
    }

    public String getTemr() {
        return temr;
    }

    public void setTemr(String temr) {
        this.temr = temr;
    }

    public String getHim() {
        return him;
    }

    public void setHim(String him) {
        this.him = him;
    }

    public String getAqi() {
        return aqi;
    }

    public void setAqi(String aqi) {
        this.aqi = aqi;
    }

    public String getVoc() {
        return voc;
    }

    public void setVoc(String voc) {
        this.voc = voc;
    }

    public String getO2() {
        return o2;
    }

    public void setO2(String o2) {
        this.o2 = o2;
    }

    public String getH2s() {
        return h2s;
    }

    public void setH2s(String h2s) {
        this.h2s = h2s;
    }

    public String getO3() {
        return o3;
    }

    public void setO3(String o3) {
        this.o3 = o3;
    }

    public String getWindSpeed() {
        return windSpeed;
    }

    public void setWindSpeed(String windSpeed) {
        this.windSpeed = windSpeed;
    }

    public String getWindDirection() {
        return windDirection;
    }

    public void setWindDirection(String windDirection) {
        this.windDirection = windDirection;
    }

    public String getNoise() {
        return noise;
    }

    public void setNoise(String noise) {
        this.noise = noise;
    }
}